package com.ssy.lingxi.order.repository;

import com.ssy.lingxi.order.entity.SellDeliveryGoodsDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 销售发货单jpa仓库
 * @author wyx
 * @version 2.0.0
 * @date 2021-12-27
 */
@Repository
public interface SellDeliveryGoodsRepository extends JpaRepository<SellDeliveryGoodsDO, Long>, JpaSpecificationExecutor<SellDeliveryGoodsDO> {
    SellDeliveryGoodsDO findFirstByOrderId(Long orderId);
}
